<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/view/common/taglib.jsp" %>    
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script>
	//# sourceURL=demoPage.js
	
    function refreshPage(v) {
		var url = "/demo/func4.action?total=119&pageSize=10&curIndex=" + v;
		load_main_content(url);
    }
	
	function onPageClick(v) {
		//alert(v);
		refreshPage(v);
	}
        
</script>

</head>
<body>

<div>
	<h3>测试Page</h3>
</div>

<nav class="navbar navbar-default" role="navigation">
  <ul class="nav navbar-nav navbar-left">
    <li>
      <a href="javascript:refreshPage(10)">新建</a></li>
    <li>
      <a href="javascript:editUser()">编辑</a></li>
    <li class="dropdown">
      <a href="#" class="dropdown-toggle" data-toggle="dropdown">更多
        <b class="caret"></b></a>
      <ul class="dropdown-menu">
        <li>
          <a href="javascript:changeState('Invalid')">禁用</a></li>
        <li>
          <a href="javascript:changeState('Normal')">启用</a></li>
        <li class="divider"></li>
	    <li>
	      <a href="javascript:changeState('Delete')">删除</a></li>
        <li class="divider"></li>
        <li>
          <a href="javascript:resetPassword()">重置密码</a></li>
      </ul>
    </li>
  </ul>
</nav>

<div id="gridCaUser" class="table-responsive">
  <table class="table table-hover table-bordered">
    <thead>
      <tr>
        <th>用户名</th>
        <th>邮箱</th>
        <th>手机</th>
    </thead>
    <tbody>
		<tr>
		<td>AA1</td>
		<td>11111111111111111@126.com</td>
		<td>12345678912</td>
		</tr>
		<tr>
		<td>AA2</td>
		<td>11111111111111111@126.com</td>
		<td>12345678912</td>
		</tr>
		<tr>
		<td>AA3</td>
		<td>11111111111111111@126.com</td>
		<td>12345678912</td>
		</tr>		
    </tbody>
  </table>
</div>

<%@ include file="/WEB-INF/view/common/bootstrapPage.jsp" %>

</body>
</html>